<template>
  <div>
    <van-card
      v-for="(item, index) in bargainlist"
      :key="index"
      :price="item.originalPrice"
      :desc="item.recommendStatusStr"
      :title="item.name"
      :origin-price="item.minPrice"
      :thumb="item.pic"
    />
  </div>
</template>

<script>
export default {
  data() {
    return {
      bargainlist: [],
    };
  },
  mounted() {
    this.$API.getList().then((res) => {
      console.log(res);
      this.bargainlist = res.data.data.slice(5,11);
    });
  },
};
</script>

<style>
</style>